libxl/devd: move the device allocation/removal code
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 16 May 2017 07:59:25 +0000 (08:59 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 19 May 2017 13:34:16 +0000 (14:34 +0100)
commit508e8d82a528a5f1ff9d5d4d5aa1adae31899a14
treeef2a6382cb718a5843ada0ceeda38af756f1f212
parent536ec5f13c066f10b5e8851392e622cc99f969f7
libxl/devd: move the device allocation/removal code

Move the device addition/removal code to the {add/remove}_device functions.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
tools/libxl/libxl_device.c